package com.xjoyt.pay.master.interfaces;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.xjoyt.pay.dto.ExecuteResult;
import com.xjoyt.pay.dto.PageParam;
import com.xjoyt.pay.dto.PageResult;
import com.xjoyt.pay.master.params.CompanyChannelPageParam;
import com.xjoyt.pay.master.po.CompanyChannel;

public interface CompanyChannelContract {

	@RequestMapping(value = "loadPage", method = RequestMethod.POST)
	PageResult<CompanyChannel> loadPage(PageParam<CompanyChannelPageParam> param);

	@RequestMapping(value = "save", method = RequestMethod.POST)
	ExecuteResult<?> save(CompanyChannel param);

	@RequestMapping(value = "remove/{id}")
	ExecuteResult<?> remove(@PathVariable("id") String id);

}
